import { IQualityTestingResult } from './interface';

class QualityTesting {
	public qualityTestingResult: IQualityTestingResult[];

	constructor() {
		this.qualityTestingResult = [];
	}

	public setQualityTestingResult(qualityTestingResult: IQualityTestingResult[]) {
		this.qualityTestingResult = [...this.qualityTestingResult, ...qualityTestingResult];
	}

	public clearQualityTestingResult() {
		this.qualityTestingResult = [];
	}
}

export default QualityTesting;
